package com.ktg.mes.pda.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ktg.mes.util.LeftJoin;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.BaseEntity;


/**
 * PDA菜单关联用户对象 pda_menu_person
 *
 * @author byteco
 * @date 2022-12-31
 */

@Data
@Accessors(chain = true)
@TableName("pda_menu_person")
public class PdaMenuPerson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    @TableId(value = "record_id", type = IdType.AUTO)
    private Long recordId;


    /** 菜单名称 */
    @Excel(name = "菜单名称")
    @LeftJoin(leftTable = "pda_menu",leftTableColumn = "record_id",selectColumn = PdaMenu.mainSelectColumnNotId)
    private Long pdaMenuId;

    /** 用户ID */
    @Excel(name = "用户ID")
    @LeftJoin(leftTable = "sys_user",leftTableColumn = "user_id",selectColumn = "user_name")
    private Long UserId;

}
